package com.yidu.ladder.base.domain;
/**
 * 辅助档案包装类
 * @author bamboo
 *
 */
public class SubsetVo {
	/**
	 * 辅助档案ID
	 */
    private String subsetId;
    /**
     * 辅助档案名
     */
    private String subsetName;
    /**
     * 基础档案ID
     */
    private String archivesId;
    /**
     * 基础档案ID
     */
    private String archivesName;
    /**
     * 助记码
     */
    private String mnemoniCode;
    /**
     * 是否可用
     */
    private String useable;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 描述
     */
    private String description;
    /**
     * 页面索引
     */
    private Integer page;
    /**
     * 页面大小
     */
	private Integer limit;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 空的构造方法
	 */
	public SubsetVo() {
		
	}
	/**
	 * 所有辅助档案属性构造方法
	 * @param subsetId 辅助档案Id
	 * @param subsetName 辅助档案名
	 * @param archivesId 基础档案Id
	 * @param archivesName 基础档案名
	 * @param mnemoniCode 助记码
	 * @param useable 是否可用
	 * @param createTime 创建时间
	 * @param description 描述
	 * @param page 页面
	 * @param limit 大小
	 * @param status 状态
	 */
	public SubsetVo(String subsetId, String subsetName, String archivesId, String archivesName, String mnemoniCode,
			String useable, String createTime, String description, Integer page, Integer limit, Integer status) {
		super();
		this.subsetId = subsetId;
		this.subsetName = subsetName;
		this.archivesId = archivesId;
		this.archivesName = archivesName;
		this.mnemoniCode = mnemoniCode;
		this.useable = useable;
		this.createTime = createTime;
		this.description = description;
		this.page = page;
		this.limit = limit;
		this.status = status;
	}

	public String getSubsetId() {
		return subsetId;
	}

	public void setSubsetId(String subsetId) {
		this.subsetId = subsetId;
	}

	public String getSubsetName() {
		return subsetName;
	}

	public void setSubsetName(String subsetName) {
		this.subsetName = subsetName;
	}

	public String getArchivesId() {
		return archivesId;
	}

	public void setArchivesId(String archivesId) {
		this.archivesId = archivesId;
	}

	public String getArchivesName() {
		return archivesName;
	}

	public void setArchivesName(String archivesName) {
		this.archivesName = archivesName;
	}

	public String getMnemoniCode() {
		return mnemoniCode;
	}

	public void setMnemoniCode(String mnemoniCode) {
		this.mnemoniCode = mnemoniCode;
	}

	public String getUseable() {
		return useable;
	}

	public void setUseable(String useable) {
		this.useable = useable;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((archivesId == null) ? 0 : archivesId.hashCode());
		result = prime * result + ((archivesName == null) ? 0 : archivesName.hashCode());
		result = prime * result + ((createTime == null) ? 0 : createTime.hashCode());
		result = prime * result + ((description == null) ? 0 : description.hashCode());
		result = prime * result + ((limit == null) ? 0 : limit.hashCode());
		result = prime * result + ((mnemoniCode == null) ? 0 : mnemoniCode.hashCode());
		result = prime * result + ((page == null) ? 0 : page.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((subsetId == null) ? 0 : subsetId.hashCode());
		result = prime * result + ((subsetName == null) ? 0 : subsetName.hashCode());
		result = prime * result + ((useable == null) ? 0 : useable.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SubsetVo other = (SubsetVo) obj;
		if (archivesId == null) {
			if (other.archivesId != null)
				return false;
		} else if (!archivesId.equals(other.archivesId))
			return false;
		if (archivesName == null) {
			if (other.archivesName != null)
				return false;
		} else if (!archivesName.equals(other.archivesName))
			return false;
		if (createTime == null) {
			if (other.createTime != null)
				return false;
		} else if (!createTime.equals(other.createTime))
			return false;
		if (description == null) {
			if (other.description != null)
				return false;
		} else if (!description.equals(other.description))
			return false;
		if (limit == null) {
			if (other.limit != null)
				return false;
		} else if (!limit.equals(other.limit))
			return false;
		if (mnemoniCode == null) {
			if (other.mnemoniCode != null)
				return false;
		} else if (!mnemoniCode.equals(other.mnemoniCode))
			return false;
		if (page == null) {
			if (other.page != null)
				return false;
		} else if (!page.equals(other.page))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (subsetId == null) {
			if (other.subsetId != null)
				return false;
		} else if (!subsetId.equals(other.subsetId))
			return false;
		if (subsetName == null) {
			if (other.subsetName != null)
				return false;
		} else if (!subsetName.equals(other.subsetName))
			return false;
		if (useable == null) {
			if (other.useable != null)
				return false;
		} else if (!useable.equals(other.useable))
			return false;
		return true;
	}
	
	@Override
	public String toString() {
		return "SubsetVo [subsetId=" + subsetId + ", subsetName=" + subsetName + ", archivesId=" + archivesId
				+ ", archivesName=" + archivesName + ", mnemoniCode=" + mnemoniCode + ", useable=" + useable
				+ ", createTime=" + createTime + ", description=" + description + ", page=" + page + ", limit=" + limit
				+ ", status=" + status + "]";
	}

	
	
}
